package com.codingapi.auto.deploy.ato;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhangdaoning
 * @date 2018/7/24
 * @company codingApi
 * @description 邮件配置
 */
@ConfigurationProperties(prefix = "codingapi.email")
@Component
public class EmailConfig {

    /**
     * 发送者
     */
    private  String deliver;
    /**
     * 接收者
     */
    private  String []  receiver;
    /**
     * 邮件主题
     */
    private  String  subject;
    /**
     * 抄送者
     */
    private  String []  carbonCopy;


    public String getDeliver() {
        return deliver;
    }

    public void setDeliver(String deliver) {
        this.deliver = deliver;
    }

    public String[] getReceiver() {
        return receiver;
    }

    public void setReceiver(String[] receiver) {
        this.receiver = receiver;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String[] getCarbonCopy() {
        return carbonCopy;
    }

    public void setCarbonCopy(String[] carbonCopy) {
        this.carbonCopy = carbonCopy;
    }
}
